home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1994
/
MacHack 1994.toast
/
MacHack™94
/
Talks & Papers
/
Timothy Knox
/
yerk 3.66
/
Asm source
/
Constants
< prev
next >
Wrap
Text File
|
1994-06-24
|
810b
|
35 lines
\ Assembler constants
0 value opSize \ the size of the operation being compiled
1 value pass
0 value keephere
file infile
12 constant ccr-type \ mode constants indicate special registers
14 constant sr-type
13 constant usp-type
4 constant EOL \ indicates tokenType end-of-line
: binary
2 -> base
;
binary
0100000011000000 value sr>-code \ opcodes for various special move
0100011011000000 value >sr-code \ instructions
0100111001100000 value usp-code
0100010011000000 value ccr-code
decimal
0 value codePos \ #bytes in instruction so far
0 value errFlag \ indicates that a serious error has occurred in
\ compilation
0 variable asmbuf 124 reserve \ sets up a 128 byte buffer